package com.itdr.protal.service;

import com.itdr.common.ServerResponse;
import com.itdr.pojo.Order;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author AirZhang
 * @since 2020-10-20
 */
public interface IOrderService extends IService<Order> {

    ServerResponse insertOne(Integer uid, Integer shippingId, BigDecimal payment, Integer pageNum, Integer pageSize);

    ServerResponse listAll(Integer id, Integer pageNum, Integer pageSize,Integer status);
}
